﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository.EFImplementation
{
    public class FileUploadRepository : IIPRepository<FileUpload>, IFileUploadRepository
    {
        public new int Add(FileUpload item)
        {
            base.Add(item);
            return item.Id;
        }

        public FileUpload Get(int id)
        {
            return Get(v => v.Id == id);
        }
    }
}
